from django.urls import path
from rest_framework.urlpatterns import format_suffix_patterns

from .views import ContestAPIView, ContestDetailAPIView, ContestDetail

urlpatterns = [
    path('', ContestAPIView.as_view()),
    path("<int:pk>", ContestDetailAPIView.as_view()),
    path('detail/',ContestDetail.as_view()),
]

urlpatterns = format_suffix_patterns(urlpatterns)